.topbar {
    background-color: #333;
    height: 40px;
    font-size: 12px;
    color: #b0b0b0;
}

.topbar-in {
    height: 40px;
    background-color: aquamarine;
}

.topbar-nav {
    height: 40px;
    line-height: 40px;
    font-size: 0;
}

.topbar-nav :is(a, span) {
    font-size: 14px;
    color: #b0b0b0;
}

.topbar-nav :is(a:hover, a:active) {
    color: #fff;
}

.topbar-nav span {
    padding: 0 8px;
}

.user-shop {
    width: 100px;
    height: 40px;
    text-align: center;
    color: #b0b0b0;
    background-color: #ff6700;
    cursor: pointer;
}

.header {
    box-sizing: border-box;
}

.header .logo {
    height: 100px;
    width: 200px;
    background-color: bisque;
    background-image: url(/xiaomi/images/logo-mi2.png);
    background-size: 26%;
    text-indent: -9999px;
    overflow: hidden;

}

.header .menu {
    height: 100px;
    width: 600px;
    background-color: chartreuse;
}

.menu ul {
    padding: ;
}

.menu li {
    padding: 0 10px;
    font-size: 16px;
    height: 40px;
    line-height: 40px;
}

.header .search-box {
    height: 100px;
    width: 271px;
}

.search-box form {

    width: 296px;
    height: 50px;
    z-index: 20;
}

.search-box .search-text {
    width: 223px;
    height: 48px;
    padding: 0 10px;
    font-size: 14px;
    line-height: 48px;
    border: 1px solid #ccc;
    outline: 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.search-box .search-btn {
    border: 1px solid #e0e0e0;
    outline: 0;
    width: 52px;
    height: 50px;
    font-size: 24px;
    line-height: 50px;
    background: #fff;
    color: #616161;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
}

.banner-in{
    height: 460px;
    position: relative;
    background-size: cover;
    background-image: url(../images/xmad_15627255042708_pFaEU.jpg);
}
.cate-box{
    position: absolute;
    height: 100%;
    width: 200px;
    
    background-color: rgb(64, 69, 67);
}
.cate-box ul{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  width: 100%;
}
.cate-box li{
    box-sizing: border-box;
    padding: 0 15px;
    height: 42px;
    line-height: 42px;

}
.cate-box li:hover{
cursor: pointer;
}
.cate-box span{
color: #fff;

}
.cate-details{
    width: 400px;
    height: 460px;
    background-color: #fff;
    position: absolute;
    left: 200px;
    top: 0;
    box-sizing: border-box;
    padding: 10px 8px;
    display: none;
}
.cate-details-item{
width: 260px;
}
.cate-details-item li:nth-child(n+2){
    margin-top: 31px;
}
.banner-in:hover .cate-details{
    display: block;
}
.cate-details-item a{
    display: block;
    padding: 8px 12px;
    font-size: 0px;
}
.cate-details-item span{
    vertical-align: middle;
    font-size: 16px;
}
.cate-details-item img{
    width: 32px;
    margin-right: 10px;
}